#!/bin/bash

PIMONHOME=${PIMONHOME:-/etc/pi-mon}

limit=3
[[ -f $PIMONHOME/conf.d/load.cf ]] && . $PIMONHOME/conf.d/load.cf

awk '{ if ($1 >= limit) print "L"; else print "" }' limit=$limit /proc/loadavg
